export default function countDown(end) {
	//获取当前时间  
	let date = new Date();
	let now = date.getTime();
	let leftTime = end - now;
	let d = Math.floor(leftTime / 1000 / 60 / 60 / 24);
	let h = Math.floor(leftTime / 1000 / 60 / 60 % 24);
	let m = Math.floor(leftTime / 1000 / 60 % 60);
	let s = Math.floor(leftTime / 1000 % 60);
	return [d, h, m, s]
}
